{include file="include:header" /}
<body class="fixed-sidebar full-height-layout gray-bg" >
    <div class="row wrapper border-bottom white-bg page-heading">
        <div class="col-sm-4">
            <h2>子菜单列表</h2>
            <!-- 导航部分 -->
            <ol class="breadcrumb">
                <li><a href="{:url('admin/Index/home')}">主页</a></li>
                <li><a href="{:url('admin/Account/menus')}">菜单列表</a></li>
                <li><a href="#">子菜单列表</a></li>
            </ol>
        </div>
        <div class="col-sm-8">
            <div class="title-action">
                <!-- 链接部分 -->
                <a href="{:url('admin/Account/sonmenusAdd',array('am_pid'=>$am_pid))}" class="btn btn-primary">新增子菜单</a>
            </div>
        </div>
    </div>
    <!-- 会员列表 -->
    <div class="wrapper wrapper-content  sonmenus-data">
        <!-- 表格主体 -->
        <table class="table table-bordered white-bg">
            <tr>
                <th>菜单ID</th>
                <th>子菜单名称</th>
                <th>URL地址</th>  
                <th>排序</th>      
                <th>操作</th>
            </tr>
             {volist name="list" id="v"}
            <tr>
                <td >{$v['admin_menu_id']}</td>
                <td>{$v['am_mname']}</td>
                <td>{$v['am_murl']}</td>
                <td>{$v['am_sort']}</td>
                <td>
                  <a href="{:url('admin/Account/sonmenusAdd',array('admin_menu_id'=>$v['admin_menu_id']))}" class="btn btn-xs btn-primary btn-outline">编辑</a>
                   &nbsp;&nbsp;<a href="#" class="btn btn-xs btn-danger btn-outline  sonmenus-delete" value="{$v['admin_menu_id']}" >删除</a>
               </td>
             
            </tr>
           {/volist}
        </table>
    </div>

</body>
</html>
{include file="include:js" /}
